class Complex:
    def __init__(self,a,b):
        self._a = a
        self._b = b
        self._c = []
    
    def distance(self):
        return self._a*self._a + self._b*self._b
    
    def __add__(self,other):
        return Complex(self._a+other._a,self._b+other._b)

a00 = Complex(3,4)
a11 = Complex(5,6)
a22 = a00+a11


##############################
a0 = {
    '_a':3,
    '_b':4,
    '_c':[12,2]
}

b0 = {
    '_a':6,
    '_b':5
}

def complex_add(a,b):
    return {'_a':a['_a']+b['_a'],'_b':a['_b']+b['_b']}

def complex_xxx(a,b):
    a['_c']
def complex_distance(a):
    return a['_a']*a['_a'] + a['_b']*a['_b']

a2 = complex_add(a0,b0)
